using System;

namespace EOSDigital.SDK
{
	public struct SaveImageSetting
	{
		public int JPEGQuality;

		public IntPtr ICCProfileStream;

		private uint Reserved;

		public static bool operator ==(SaveImageSetting x, SaveImageSetting y)
		{
			if (x.JPEGQuality == y.JPEGQuality)
			{
				return x.ICCProfileStream == y.ICCProfileStream;
			}
			return false;
		}

		public static bool operator !=(SaveImageSetting x, SaveImageSetting y)
		{
			return !(x == y);
		}

		public override bool Equals(object obj)
		{
			if (obj is SaveImageSetting)
			{
				return this == (SaveImageSetting)obj;
			}
			return false;
		}

		public override int GetHashCode()
		{
			int num = -2128831035;
			num *= (0x1000193 ^ this.JPEGQuality.GetHashCode());
			return num * (0x1000193 ^ this.ICCProfileStream.GetHashCode());
		}
	}
}
